//
//  CALayer+Addition.h
//  dingding
//
//  Created by dingding on 15/12/10.
//  Copyright © 2015年 dingding. All rights reserved.
//
#import <UIKit/UIKit.h>
#define activityViewTag                90007

@interface UIView (Activity)
@property (nonatomic, assign) CGFloat x;
@property (nonatomic, assign) CGFloat y;
@property (nonatomic, assign) CGFloat centerX;
@property (nonatomic, assign) CGFloat centerY;
@property (nonatomic, assign) CGFloat width;
@property (nonatomic, assign) CGFloat height;
@property (nonatomic, assign) CGSize  size;

-(void)showWaitingView:(NSString*)msg;
-(void)dismissWaitingView;
-(void)showActivityViewAtCenter;
-(void)hideActivityViewAtCenter;

-(void)showActivityViewAtViewCenter;
-(void)setClickListener:(id)target action:(SEL)action;
-(void)setClickListener1:(id)target action:(SEL)action;

-(void)showLoadAni;
-(void)finishLoadAni;
-(void)loadNone:(BOOL)remove func:(void(^)(void))func;

@property(nonatomic, strong) NSString* click;
-(void)setClick:(NSString*)click;
@property(nonatomic, assign) BOOL isUpdateDatas;
-(void)updateDatas;

@end
